Skip to main content

FlowAssign

Represents the FlowAssign class, inheriting from BaseErrorManagedApiStep<FlowAssignProperties>.

Properties

NameDescription
CaptionThe caption dictionary representing localized captions for the flow object.
ManagerAccordingToTitleGets or sets the manager options according to the title.
SelectedManagerProfileGets or sets the selected manager profile position details.
TargetObjectGets or sets the target object metadata.
SelectedObjectPropertyGets or sets the selected object property name.
ResumeOnErrorIndicates whether the process should continue on encountering an error. (Obsolete, will be replaced by ErrorOptions on 01.01.2024.)
KeyA unique identifier for the workflow step.
ConstantPositionGets or sets the constant position details.
NameName for the workflow step.
ErrorDescriptionObjectNameSpecifies the name of the error description object. (Obsolete, will be replaced by ErrorOptions on 01.01.2024.)
SourceTypeGets or sets the source type for the assignment.
ConstantUserGets or sets the constant user details.
TargetObjectTypeCodeSpecifies the type code of the target object. (Obsolete, will be replaced by TargetObject on 01.01.2024.)
AssignmentNameGets or sets the name of the assignment.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
ConstantProfessionGets or sets the constant profession details.
ErrorOptionsDefines error-related options for the API step.
CachedDMObjectsThe cached document management objects related to the flow object.
ConstantValueGets or sets the constant value.
ConstantDepartmentGets or sets the constant department details.
TypeCodeThe type code associated with the flow object.
SelectedObjectNameGets or sets the name of the selected object.
TargetObjectNameSpecifies the name of the target object. (Obsolete, will be replaced by TargetObject on 01.01.2024.)

Constructors

NameDescription
FlowAssign(name, workflowData, workflowCodeInstance)Constructor for the FlowAssign class. Initializes a new instance of the FlowAssign class.
FlowAssign(name,workflowData,workflowCodeInstance)Initializes a new instance of the FlowAssign class with a name, workflow data, and workflow code instance.
FlowAssign(name, workflowData, workflowCodeInstance)Initializes a new instance of the FlowAssign class with the specified name, workflow data, and optional workflow code instance.

Methods

NameDescription
SetVariableUser(id, targetPosition)Assigns a user to the target position based on a variable user ID.
SetConstantVariable(targetVariable)Assigns a constant value to the target variable.
SetConstantProfession(targetProfession)Assigns a constant profession to the target profession.
SetDepartmentFromPosition(sourcePosition, targetDepartment)Assigns a department to the target department based on a position.
SetProfessionFromFlowInitiator(targetProfession)Assigns a profession to the target profession based on the flow initiator.
SetPositionFromOther(sourcePosition, targetPosition)Sets the target position based on another source position.
SetDepartmentFromFlowInitiator(targetDepartment)Assigns a department to the target department based on the flow initiator.
SetVariableFromPosition(sourcePosition, targetVariable)Assigns a value to the target variable from a position.
SetProfessionFromVariable(sourceVariable, targetProfession)Assigns a profession to the target profession based on a variable.
SetManagerDepartmentFromDepartment(sourceDepartment, targetDepartment)Assigns a manager's department to the target department based on another department.
SetProfessionFromPosition(sourcePosition, targetProfession)Assigns a profession to the target profession based on a position.
SetUserFromFlowInitiator(targetPosition)Assigns the user from the flow initiator to the target position.
SetVariableFromProjectName(targetVariable)Assigns a project name to the target variable.
SetConstantDepartment(targetDepartment)Assigns a constant department to the target department.
SetDepartmentFromVariable(sourceVariable, targetDepartment)Assigns a department to the target department based on a variable.
SetUserFromImpersonatingUser(targetPosition)Assigns the impersonating user to the target position.
Assign()Assigns the target object based on the provided assignment configuration.
SetConstantUser(targetPosition)Assigns a constant user to the target position.
SetUserFromLogonUser(targetPosition)Assigns the current logged-on user to the target position.
SetManagerUserAccordingToProfession(targetPosition, sourcePosition, flowAssign)Assigns the manager user to the target position according to the profession.
SetManagerUserFromUser(sourcePosition, targetPosition)Assigns the manager of the user from the source position to the target position.
SetUserFromVariable(sourceVariable, targetPosition)Sets the target user from the provided variable.
SetVariableFromVariable(sourceVariable, targetVariable)Assigns a value to the target variable from another variable.
SetDepartmentFromOther(sourceDepartment, targetDepartment)Assigns a department to the target department based on another department.
SetPositionFromVariable(sourceVariable, targetPosition)Sets the target position based on a variable.
Initialize()Initializes the FlowAssign step with default settings.
SetVariableProfession(sourceProfession, targetProfession)Assigns a variable profession from the source profession to the target profession.
DecrementVariable(targetVariable)Decrements the value of the target variable.
SetVariableFromProfession(sourceProfession, targetVariable)Assigns a value to the target variable from a profession.
SetDepartmentManagerUserFromDepartment(sourceDepartment, targetPosition)Assigns the manager of the department to the target position.
SetUserFromFlowInitiatorManager(targetPosition)Assigns the manager of the flow initiator to the target position.
IncrementVariable(targetVariable)Increments the value of the target variable.
GetTargetObject<T>()Retrieves the target object of the specified type for the current assignment.
SetConstantPosition(targetPosition)Assigns a constant position as the target for the flow.
SetVariableFromDepartment(sourceDepartment, targetVariable)Assigns a value to the target variable from a department.

Events

NameDescription
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.